package com.anyext.storage.asm;

import org.springframework.asm.Opcodes;

import com.anyext.storage.exception.ParseException;
import com.anyext.storage.jdbc.RowCallback;
import com.anyext.storage.mapping.ResultMap;
import com.anyext.storage.mapping.SqlMap;
import com.anyext.storage.mapping.impl.SqlMapImpl;

public class ByteCodeLoader extends ClassLoader implements Opcodes {
	
	private SqlMap sqlMap = null;
	
	public void init() {
//		SqlMapImpl sqlMap = new SqlMapImpl();
	}
	
	public RowCallback<?> parseRowCallback() throws ParseException {
		ResultMap resultMap = sqlMap.getResultMap();
		
		return null;
	}
	
	public static void main(String[] args) {

	}

}
/*
mv.visitFrame(Opcodes.F_FULL, 8, new Object[] { "com/anyext/storage/asm/UserInfoRowCallback", "java/sql/ResultSet", "java/lang/StringBuffer", "java/lang/String", "java/util/Date", Opcodes.INTEGER, "java/lang/String", "com/anyext/storage/model/UserInfo" }, 0, new Object[] {});
mv.visitFrame(Opcodes.F_FULL, 12, new Object[] { "com/anyext/storage/asm/UserInfoRowCallback", "java/sql/ResultSet", "java/lang/StringBuffer", "java/lang/String", "java/util/Date", Opcodes.INTEGER, "java/lang/String", "com/anyext/storage/model/UserInfo", "java/lang/StringBuffer", "java/lang/String", "java/lang/String", "java/util/List" }, 0, new Object[] {});
mv.visitFrame(Opcodes.F_FULL, 15, new Object[] { "com/anyext/storage/asm/UserInfoRowCallback", "java/sql/ResultSet", "java/lang/StringBuffer", "java/lang/String", "java/util/Date", Opcodes.INTEGER, "java/lang/String", "com/anyext/storage/model/UserInfo", "java/lang/StringBuffer", "java/lang/String", "java/lang/String", "java/lang/StringBuffer", "java/lang/String", "java/lang/String", "java/util/List" }, 0, new Object[] {});
*/